<?php
/**
 * Created by PhpStorm.
 * User: sakura
 * Date: 2019/4/28
 * Time: 1:06 PM
 */

namespace app\common\model;


//use app\common\model\Model;
use traits\model\SoftDelete;

class Car extends Model
{
    use SoftDelete;

    public function orders(){
        return $this->hasOne('Orders','car_id','id');
    }
}